home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / PROGRAM / DJEMU106.ARJ / E26.CC < prev    next >
C/C++ Source or Header  |  1991-04-28  |  282b  |  22 lines

  1. #include "emu.h"
  2. #include "rmov.h"
  3.  
  4. void emu_26()
  5. {
  6.   if (empty())
  7.     return;
  8.   if (modrm > 0277)
  9.   {
  10.     //
  11.     emu_bad();
  12.   }
  13.   else
  14.   {
  15.     // fidiv m32int
  16.     reg t, t2;
  17.     r_mov((long *)get_modrm(), t);
  18.     r_div(st(), t, t2);
  19.     r_mov(t2, st());
  20.   }
  21. }
  22.